package com.godofball.todo.entity;

import java.util.Date;
import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 任务表(Task)表实体类
 *
 * @author makejava
 * @since 2023-12-31 16:36:55
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_task")
public class Task {
    @TableId
    private String id;

    //标题
    private String title;

    //状态
    private String state;

    //内容
    private String content;

    //任务类型
    private String type;

    //开始时间
    private Date startTime;

    //结束时间
    private Date endTime;

    //完成时间
    private Date completeTime;

    //备注
    private String remark;

    //创建人
    @TableField(fill = FieldFill.INSERT)
    private String createUsername;

    //修改人
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateUsername;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //修改时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //删除标识
    private Integer isDelete;
}

